<template>
  <div class="fl">
    <main class="animated bounceInRight">
      <div class="cent">注册</div>
      <img
        src="../../public/image/testimonial-bg.jpg"
        alt="玫瑰"
        width="1519px"
        class="lbt"
      />
    </main>
    <div class="container animated bounceInLeft">
      <div class="box">
        <div class="small-box">
          <h3>建立新帐户</h3>
          <p>用户名或邮箱地址*</p>
          <input type="text" placeholder="请输入你的账号" />
          <p>密码</p>
          <input type="text" placeholder="请输入你的密码" />
          <button>重置</button>
          <div class="login-bj">
            <label for="">
              <input type="checkbox" name="user" class="login-jz" /> 收到我们合作伙伴的报价
            </label>
          </div>
          <p style="line-height: 1">已经有账号了？</p>
          <button class="login-cj">立即登录</button>
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
body {
  line-height: 1.75;
}
button,
input {
  border: none;
  outline: none;
  background: none;
}
main {
  position: relative;
  .cent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #222222;
    font-size: 42px;
    font-family: "Lora", serif;
  }
}
.container {
  height: 572px;
  font-size: 16px;
  padding: 90px 0 100px 0;
  .box {
    width: 1200px;
    margin: 0 12px;
    height: 382px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .small-box {
      width: 50%;
      justify-content: center;
      align-items: center;
      h3 {
        font-size: 24px;
        height: 44px;
        margin-bottom: 8px;
        font-weight: 400;
        color: #222222;
        font-family: "Rubik", sans-serif;
      }
      p {
        font-size: 13px;
        color: #666666;
        padding-bottom: 7px;
        margin-top: 15px;
      }
      input {
        border: 1px solid #e5e5e5;
        box-shadow: none;
        color: #7e7e7e;
        border-radius: 0;
        background-color: #ffffff;
        margin-bottom: 0;
        padding: 0px 15px;
        max-width: 100%;
        width: 100%;
        font-size: 14px;
        height: 40px;
        font-weight: 400;
        color: #222222;
      }
      button {
        border-color: #f34f3f;
        background-color: #f34f3f;
        color: #ffffff;
        width: 100%;
        height: 50px;
        margin-top: 15px;
        font-weight: 700;
        &:hover {
          background-color: #292d32;
        }
      }
      .login-cj {
        padding: 0;
        margin: 0;
        background-color: #292d32;
        &:hover {
          background-color: #f34f3f;
        }
      }
      .login-bj {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .login-jz {
          width: 15px;
          height: 15px;
          line-height: 13px;
          border: 1px solid #e5e5e5;
          border-radius: 2px;
          vertical-align: middle;
        }
      }
    }
  }
}
</style>